updating oE tanh

tanh

include math.e 
namespace math 
public function tanh(object a) 

computes the hyperbolic tangent of an object.

Parameters:
  1. x : the object to process.
Returns:

An object, the same shape as x, each atom of which was acted upon.

Comments:

The hyperbolic tangent takes values from -1 to +1.

tanh is the ratio sinh / cosh. Compare with ordinary trigonometry.

Example 1:
? tanh(LN2) -- prints out 0.6 
See Also:

cosh, sinh, tan, arctanh

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu